<?php

	if(get_query_var('author_name')) :
		$curauth = get_userdatabylogin(get_query_var('author_name'));
	else :
		$curauth = get_userdata(get_query_var('author'));
	endif;

	$current_author = $curauth->nickname;
	if ($current_author) {
		$current_author_li = "<li>This is ".$current_author."'s page</li>";
		$current_author_h2 = "<h2>".$current_author."</h2>";
	}

?>

<?php echo $current_author_h2; ?>
<?php the_author_description($curauth); ?>

